package generator.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import com.baomidou.mybatisplus.annotation.DbType;

import lombok.Data;

@Data
@Component
@ConfigurationProperties("mybatis-plus-generator")
public class MyBatisPlusGeneratorProperties {
	private DbType dbType = DbType.ORACLE;

	private String url;

	private String driverClassName = "oracle.jdbc.OracleDriver";

	private String username;

	private String password;

	private String[] tablePrefix;

	private String[] includes;

	private String logicDeleteFieldName;

	private String parent;

	private String entity = "entity";

	private String mapper = "dao";

	private String xml = "mappings";

	private String controller = "web";

	private String service = "service";

	private String serviceImpl = "service.impl";
}
